<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>管理主页</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<link rel="shortcut icon" href="./bamimg/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="./bamcss/bam.css">
<script type="text/javascript" src="./plugin/jqueryqrcode/src/jquery.min.js"></script>

<style type="text/css">
#home_entire {
	background-position: center;
	background-color: #E6E6FA;
	margin: 0 auto;
	width: 80%;
	height: 100%;
}

#home_head {
	margin: 0 auto;
	width: 100%;
	height: 8%;
	background-color: #696969;
}

#home_left {
	float: left;
	width: 10%;
	height: 89%;
	background-color: #262626;
}

#home_right {
	float: right;
	width: 90%;
	height: 89%;
}

#home_button {
	width: 90%;
	margin-left: 10%;
	font-size: 18px;
	text-align: center;
	color: #FFF;
	padding: 12% 0;
	font-weight: 600;
}

#home_iframe {
	width: 100%;
	height: 100%;
	background-color: white;
}

#home_bottom {
	width: 100%;
	height: 3%;
	background-color: #696969;
}
.clckClass{
	color: #ff8000;
}
</style>


</head>
<body>
	<div id="body">
		<div id="home_entire">
			<div id="home_head">
				<span
					style="float: right; color: #FF8000;font-weight: 800;font-size: 16px; margin-top:3.4%;margin-right:0.8% ;">用户:
					&nbsp;${sessionScope.sessionUser.userName} &nbsp; &nbsp;
					<%-- &nbsp;${sessionScope.sessionUser.area.areaName} --%>${sessionScope.sessionUser.zzrole.roleName}</span>
			</div>
			<div id="home_left">
				<a id="a" href="${pageContext.request.contextPath}/bamjsp/dataStatus/status.jsp?id=1" target="iframe">
					<div onclick="changeCss(this)" name="home_button" id="home_button" style="margin-top:30%;color:#FF8000">状 态</div> 
				</a> 
				<a id="a" onclick="" href="${pageContext.request.contextPath}/bamjsp/userManage/transactionACT/transaction.jsp?id=6" target="iframe">
					<div onclick="changeCss(this)" name="home_button" id="home_button" style="margin-top:10%">交易查询</div>
				</a>
				<a id="a" onclick="" href="${pageContext.request.contextPath}/bamjsp/dataStatistics/statistics.jsp?id=2" target="iframe">
					<div onclick="changeCss(this)" name="home_button" id="home_button" style="margin-top:10%">数据统计</div> 
				</a>
				<a id="a" onclick="" href="${pageContext.request.contextPath}/bamjsp/adverset/adver.jsp?id=3" target="iframe">
					<div onclick="changeCss(this)" name="home_button" id="home_button" style="margin-top:10%">广 告</div> 
				</a>
				<a id="a" onclick="" href="${pageContext.request.contextPath}/bamjsp/userManage/manage.jsp?id=4" target="iframe">
					<div onclick="changeCss(this)" name="home_button" id="home_button" style="margin-top:10%">用户管理</div>
				</a> 
				<a id="a" onclick="" href="${pageContext.request.contextPath}/bamjsp/appSystem/systemInfo.jsp?id=7" target="iframe">
					<div onclick="changeCss(this)" name="home_button" id="home_button" style="margin-top:10%">系统设置</div>
				</a>
				<a id="a" onclick="" href="${pageContext.request.contextPath}/bamjsp/ssidStatus/ssidACT.jsp?id=8" target="iframe">
					<div onclick="changeCss(this)" name="home_button" id="home_button" style="margin-top:10%">双ssid运营</div>
				</a>
				<a href="#" target="iframe">
					<div onclick="changeCss(this)" name="home_button" id="home_button" style="margin-top:10%">其他功能</div>
				</a>
			</div>
			<div id="home_right">
				<iframe id="home_iframe" name="iframe"
					src="${pageContext.request.contextPath}/bamjsp/dataStatus/status.jsp"
					frameborder=0></iframe>
			</div>
			<div style="clear:both;"></div>

			<div id="home_bottom"></div>
		</div>
	</div>
	<script type="text/javascript">
	function changeCss(obj){ 
		var alist = document.getElementsByName("home_button");
		for(var i=0;i<alist.length;i++){
			alist[i].style.color = "#FFF"; //给所有a标签赋原色 
		}
		obj.style.color = "#FF8000"; //令当前标签高亮 
	}
	</script>
</body>
</html>
